Skip to content

fix(env): detect default fish config path in vp env doctor#920

Open
mst-mkt wants to merge 2 commits intovoidzero-dev:mainfrom
mst-mkt:fix/doctor-default-fish-config
Open

fix(env): detect default fish config path in vp env doctor#920
mst-mkt wants to merge 2 commits intovoidzero-dev:mainfrom
mst-mkt:fix/doctor-default-fish-config

Conversation

@mst-mkt
Copy link
Contributor

@mst-mkt mst-mkt commented Mar 15, 2026

Follows up on @fengmk2's comment in #892.

Summary

vp env doctor did not detect fish shell config at ~/.config/fish/conf.d/vite-plus.fish.
This PR adds that check so doctor correctly reports IDE integration for fish users.

Changes

  • Check ~/.config/fish/conf.d/vite-plus.fish in check_profile_files before returning None
  • Add tests for default fish config detection (test_check_profile_files_default_fish_config, test_check_profile_files_no_fish_config)

Note

This will likely conflict with #892 since both touch check_profile_files. Conflict resolution will be needed after whichever merges first.

@netlify
Copy link

netlify bot commented Mar 15, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit c179e5e
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69b832df919abc000821276a

Copy link
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should rebase before merge.

@mst-mkt mst-mkt force-pushed the fix/doctor-default-fish-config branch from d9ba01b to c179e5e Compare March 16, 2026 16:42
@mst-mkt
Copy link
Contributor Author

mst-mkt commented Mar 16, 2026

I've rebased. Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants